DB_Builder::order_by()
Method: Build order statement.
DB_Builder::order_by Read More »
Method: Build order statement.
DB_Builder::order_by Read More »
Method: Find a record by it’s ID
DB_Builder::find_by_id Read More »
Method: Guess the type of value for correcting placeholder
DB_Builder::guess_var_type Read More »
Method: Define the conditions, for example where(‘property’,’value) This will create an equal statement.
Method: Export the class properties as array format.
Method: Sql setup script should be here.
Method: Get the table name from class mapper;
Mapper::get_table_name Read More »
Method: Return the DB error happen when executing sql.
Method: Get an instance of this class.
Method: Get the validation rule
Model::parse_annotation_rule Read More »
Method: Get the sanitize function
Model::parse_annotation_sanitize Read More »
Method: Get the variable type
Model::parse_annotations_var Read More »
Method: Parse the annotations of the class, and cache it. The list should be – type: for casting – sanitize_*: the list of sanitize_ functions, which should be run on this property – rule: the rule that we use for validation
Model::parse_annotations Read More »