archive-com.com » COM » S » SOLARPHP.COM

Total: 875

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Solar Framework : Class : Solar_Sql_Model_Record : Overview
    filter to this record instance count Countable how many keys are there delete Deletes this record from the database dump Convenience method for getting a dump of the record or one of its properties or an external variable filter Filter the data free Frees memory used by this struct getChanged Gets a list of all changed table columns getInvalid Returns the validation failure message for one or more properties including the messages on related records and collections getIterator IteratorAggregate returns an external iterator for this struct getKeys Returns all the keys for this struct getModel Returns the model from which the data originates getPrimaryCol Gets the name of the primary key column getPrimaryVal Gets the value of the primary key column getSaveException Returns the exception if any generated by the most recent call to the save method getSqlStatus Returns the SQL status of this record at the database increment Increments the value of a column immediately at the database and retains the incremented value in the record init Initialize the record object initNew Initialize the record object as a new record as with init this is effectively a first load method isChanged Tells if the record or a particular table column in the record has changed from its initial value isDeleted Has this record been deleted isDirty Is the struct dirty isInvalid Is the record or one of its relateds invalid isNew Is the record new load Loads the struct with data from an array or another struct locale Overrides normal locale to use the model locale strings newFilter Returns a new filter object with the filters from the record model newForm Returns a new Solar Form object pre populated with column properties values and filters ready for processing all based on the model for this record newRelated Create a

    Original URL path: http://solarphp.com/apidoc/class.Solar_Sql_Model_Record.Overview (2016-02-13)
    Open archived version from archive


  • Solar Framework : Class : Solar_Sql_Model_Related : Overview
    name of the table for the foreign model merge Indicates the strategy to use for merging joined rows server means the database will do it via a single SELECT combined into the native fetch whereas client means PHP will do it using one additional SELECT for the relationship name The name of the relationship as defined by the original native model native alias The alias for the native table native by What strategy should be used for connecting to native records when eager fetching wherein meaning a WHERE IN a list of native IDs or select meaning a join against a sub SELECT native class The class of the native model native col The native column to match against the foreign primary column order Additional ORDER clauses when fetching related records type The type of the relationship as defined by the original native model e g has one belongs to has many wherein max When picking a native by strategy use wherein for up to this many record in the native result after this point use a select strategy Public Methods These are all the public methods in the Solar Sql Model Related class You can also view the list of all public protected and private methods construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct dump Convenience method for getting a dump the whole object or one of its properties or an external variable fetch Fetches the related record or collection for a native ID or record fetchEmpty Returns a new empty value appropriate for a lazy or eager fetch this is different for each kind of related fetchNew Fetches a new record or collection object getForeignConditions Gets the foreign model WHERE conditions and merges with the WHERE conditions on

    Original URL path: http://solarphp.com/apidoc/class.Solar_Sql_Model_Related.Overview (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Sql_Model_Related_BelongsTo : Overview
    col The name of the foreign primary column foreign table The name of the table for the foreign model merge Indicates the strategy to use for merging joined rows server means the database will do it via a single SELECT combined into the native fetch whereas client means PHP will do it using one additional SELECT for the relationship name The name of the relationship as defined by the original native model native alias The alias for the native table native by What strategy should be used for connecting to native records when eager fetching wherein meaning a WHERE IN a list of native IDs or select meaning a join against a sub SELECT native class The class of the native model native col The native column to match against the foreign primary column order Additional ORDER clauses when fetching related records type The type of the relationship as defined by the original native model e g has one belongs to has many wherein max When picking a native by strategy use wherein for up to this many record in the native result after this point use a select strategy Public Methods These are all the public methods in the Solar Sql Model Related BelongsTo class You can also view the list of all public protected and private methods construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct dump Convenience method for getting a dump the whole object or one of its properties or an external variable fetch Fetches the related record or collection for a native ID or record fetchEmpty Returns a null when there is no related data fetchNew Fetches a new related record getForeignConditions Gets the foreign model WHERE conditions and merges with the WHERE conditions on this

    Original URL path: http://solarphp.com/apidoc/class.Solar_Sql_Model_Related_BelongsTo.Overview (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Sql_Model_Related_HasMany : Overview
    The name of the foreign primary column foreign table The name of the table for the foreign model merge Indicates the strategy to use for merging joined rows server means the database will do it via a single SELECT combined into the native fetch whereas client means PHP will do it using one additional SELECT for the relationship name The name of the relationship as defined by the original native model native alias The alias for the native table native by What strategy should be used for connecting to native records when eager fetching wherein meaning a WHERE IN a list of native IDs or select meaning a join against a sub SELECT native class The class of the native model native col The native column to match against the foreign primary column order Additional ORDER clauses when fetching related records type The type of the relationship as defined by the original native model e g has one belongs to has many wherein max When picking a native by strategy use wherein for up to this many record in the native result after this point use a select strategy Public Methods These are all the public methods in the Solar Sql Model Related HasMany class You can also view the list of all public protected and private methods construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct getEmpty Returns an empty related value for an internal array result dump Convenience method for getting a dump the whole object or one of its properties or an external variable fetch Fetches the related record or collection for a native ID or record fetchEmpty Returns a new empty collection when there is no related data fetchNew Fetches a new related collection getForeignConditions Gets the

    Original URL path: http://solarphp.com/apidoc/class.Solar_Sql_Model_Related_HasMany.Overview (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Sql_Model_Related_HasManyThrough : Overview
    single SELECT combined into the native fetch whereas client means PHP will do it using one additional SELECT for the relationship name The name of the relationship as defined by the original native model native alias The alias for the native table native by What strategy should be used for connecting to native records when eager fetching wherein meaning a WHERE IN a list of native IDs or select meaning a join against a sub SELECT native class The class of the native model native col The native column to match against the foreign primary column order Additional ORDER clauses when fetching related records through The relationship name through which we find foreign records through alias The through table alias through conditions The conditions retrieved from the through model through foreign col In the through table the column that has the matching foreign value through join type The type of join for the through model through key The virtual element through key automatically populates the through foreign col value for you through native col In the through table the column that has the matching native value through table The through table name type The type of the relationship as defined by the original native model e g has one belongs to has many wherein max When picking a native by strategy use wherein for up to this many record in the native result after this point use a select strategy Public Methods These are all the public methods in the Solar Sql Model Related HasManyThrough class You can also view the list of all public protected and private methods construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct getEmpty Returns an empty related value for an internal array result dump Convenience

    Original URL path: http://solarphp.com/apidoc/class.Solar_Sql_Model_Related_HasManyThrough.Overview (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Sql_Model_Related_HasOne : Overview
    the model catalog foreign primary col The name of the foreign primary column foreign table The name of the table for the foreign model merge Indicates the strategy to use for merging joined rows server means the database will do it via a single SELECT combined into the native fetch whereas client means PHP will do it using one additional SELECT for the relationship name The name of the relationship as defined by the original native model native alias The alias for the native table native by What strategy should be used for connecting to native records when eager fetching wherein meaning a WHERE IN a list of native IDs or select meaning a join against a sub SELECT native class The class of the native model native col The native column to match against the foreign primary column order Additional ORDER clauses when fetching related records type The type of the relationship as defined by the original native model e g has one belongs to has many wherein max When picking a native by strategy use wherein for up to this many record in the native result after this point use a select strategy Public Methods These are all the public methods in the Solar Sql Model Related HasOne class You can also view the list of all public protected and private methods construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct dump Convenience method for getting a dump the whole object or one of its properties or an external variable fetch Fetches the related record or collection for a native ID or record fetchEmpty Returns a new record when there is no related data fetchNew Fetches a new related record getForeignConditions Gets the foreign model WHERE conditions and merges

    Original URL path: http://solarphp.com/apidoc/class.Solar_Sql_Model_Related_HasOne.Overview (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Sql_Model_Related_HasOneOrNull : Overview
    called foreign name automatically sets the foreign class by looking up the foreign name in the model catalog foreign primary col The name of the foreign primary column foreign table The name of the table for the foreign model merge Indicates the strategy to use for merging joined rows server means the database will do it via a single SELECT combined into the native fetch whereas client means PHP will do it using one additional SELECT for the relationship name The name of the relationship as defined by the original native model native alias The alias for the native table native by What strategy should be used for connecting to native records when eager fetching wherein meaning a WHERE IN a list of native IDs or select meaning a join against a sub SELECT native class The class of the native model native col The native column to match against the foreign primary column order Additional ORDER clauses when fetching related records type The type of the relationship as defined by the original native model e g has one belongs to has many wherein max When picking a native by strategy use wherein for up to this many record in the native result after this point use a select strategy Public Methods These are all the public methods in the Solar Sql Model Related HasOneOrNull class You can also view the list of all public protected and private methods construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct dump Convenience method for getting a dump the whole object or one of its properties or an external variable fetch Fetches the related record or collection for a native ID or record fetchEmpty Returns a null when there is no related data fetchNew

    Original URL path: http://solarphp.com/apidoc/class.Solar_Sql_Model_Related_HasOneOrNull.Overview (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Sql_Model_Related_ToMany : Overview
    of the table for the foreign model merge Indicates the strategy to use for merging joined rows server means the database will do it via a single SELECT combined into the native fetch whereas client means PHP will do it using one additional SELECT for the relationship name The name of the relationship as defined by the original native model native alias The alias for the native table native by What strategy should be used for connecting to native records when eager fetching wherein meaning a WHERE IN a list of native IDs or select meaning a join against a sub SELECT native class The class of the native model native col The native column to match against the foreign primary column order Additional ORDER clauses when fetching related records type The type of the relationship as defined by the original native model e g has one belongs to has many wherein max When picking a native by strategy use wherein for up to this many record in the native result after this point use a select strategy Public Methods These are all the public methods in the Solar Sql Model Related ToMany class You can also view the list of all public protected and private methods construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct getEmpty Returns an empty related value for an internal array result dump Convenience method for getting a dump the whole object or one of its properties or an external variable fetch Fetches the related record or collection for a native ID or record fetchEmpty Returns a new empty value appropriate for a lazy or eager fetch this is different for each kind of related fetchNew Fetches a new related collection getForeignConditions Gets the foreign model

    Original URL path: http://solarphp.com/apidoc/class.Solar_Sql_Model_Related_ToMany.Overview (2016-02-13)
    Open archived version from archive



  •