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 : Overview
    columns listed in the method name construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct get Read only access to protected model properties countPages Fetches count and pages of available records delete Deletes rows from the model table and deletes cache entries dump Convenience method for getting a dump the whole object or one of its properties or an external variable fetch Fetches a record or collection by primary key value s fetchAll Fetches a collection of all records by arbitrary parameters fetchAllAsArray Fetches an array of rows by arbitrary parameters fetchAssoc The same as fetchAll except the record collection is keyed on the first column of the results instead of being a strictly sequential array fetchAssocAsArray The same as fetchAssoc except it returns an array not a collection fetchCol Fetches a sequential array of values from the model using only the first column of the results fetchNew Returns a new record with default values fetchOne Fetches one record by arbitrary parameters fetchOneAsArray The same as fetchOne but returns an array instead of a record object fetchPairs Fetches an array of key value pairs from the model where the first column is the key and the second column is the value fetchValue Fetches a single value from the model i e the first column of the first record of the returned page set free Call this before you unset the instance so that you release the memory from all the internal child objects getAffectedRows Returns the number of rows affected by the last INSERT UPDATE or DELETE getConditions Returns a WHERE clause array of conditions to use when fetching from this model e g single table inheritance getPaging Gets the number of records per page getPrimary Returns the fully qualified primary

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


  • Solar Framework : Class : Solar_Sql_Model_Cache : Overview
    not recommended for file based caching If you use a file based cache here be prepared to clear out old data versions on your own as this system will not do it for you For background information on cache versioning see the blog entry at http blog leetsoft com 2007 5 22 the secret to memcached Package This class is part of the Solar Sql Model package Inheritance Solar Base Solar Sql Model Cache Configuration Keys cache A Solar Cache dependency Constants None Public Properties The Solar Sql Model Cache class has no public properties try the list of all properties Public Methods These are all the public methods in the Solar Sql Model Cache 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 add Adds data to the cache under a specified key delete Deletes the cache for this model deleteAll Deletes the cache for this model and all related models dump Convenience method for getting a dump the whole object or one of its properties or an external variable entry Gets the key for a

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

  • Solar Framework : Class : Solar_Sql_Model_Catalog : Overview
    Model Catalog class has no public properties try the list of all properties Public Methods These are all the public methods in the Solar Sql Model Catalog 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 get Magic get to make it look like model names are object properties dump Convenience method for getting a dump the whole object or one of its properties or an external variable free Frees memory for all models in the catalog getClass Gets the model class for a particular model name getInfo Returns information about the catalog as an array with keys for names the model name to class mappings store the classes actually loaded up and retained and stack the search stack for models getModel Returns a stored model instance by name creating it if needed getModelByClass Returns a stored model instance by class creating it if needed loadModel Loads a model from the stack into the catalog by name returning a true false success indicator instead of throwing an exception when the class cannot be found locale Looks up

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

  • Solar Framework : Class : Solar_Sql_Model_Collection : Overview
    its key value isset Does a certain key exist in the data set Sets a key value and marks the struct as dirty toString Returns a string representation of the object unset Sets a key in the data to null appendNew Fetches a new record and appends it to the collection count Countable how many keys are there deleteAll Deletes each record in the collection one by one deleteOne Deletes a record from the database and removes it from the collection dump Convenience method for getting a dump the whole object or one of its properties or an external variable free Frees memory used by this struct getColVals Returns an array of all values for a single column in the collection getInvalid Returns an array of invalidation messages from each invalid record keyed on the record offset within the collection getInvalidRecords Returns an array of the invalid record objects within the collection keyed on the record offset within the collection 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 getPagerInfo Gets the injected pager information for the collection getPrimaryVals Returns an array of the unique primary keys contained in this collection getRecordOffset Given a record object looks up its offset value in the collection isDirty Is the struct dirty isEmpty Are there any records in the collection isInvalid Are there any invalid records in the collection load Loads the struct with data from an array or another struct locale Overrides normal locale to use the model locale strings offsetExists ArrayAccess does the requested key exist offsetGet ArrayAccess get a key value offsetSet ArrayAccess set a key value appends to the array when using notation offsetUnset ArrayAccess unset a key removeAll Removes all records

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

  • Solar Framework : Class : Solar_Sql_Model_Metadata : Overview
    properties index info Index information for the table table cols Column descriptions for the table table name The name of the table Public Methods These are all the public methods in the Solar Sql Model Metadata 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

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

  • Solar Framework : Class : Solar_Sql_Model_Params : Overview
    Params class You can also view the list of all public protected and private methods clone Performs a deep clone of objects in the data construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct get Gets a data value isset Does a certain key exist in the data set Sets a key value and marks the struct as dirty toString Returns a string representation of the object unset Sets a key in the data to null alias Sets the alias to use for this eager or fetch cols Adds new columns to the existing list of columns count Countable how many keys are there dump Convenience method for getting a dump the whole object or one of its properties or an external variable eager Adds a new related eager fetch with options to the params free Frees memory used by this struct getIterator IteratorAggregate returns an external iterator for this struct getKeys Returns all the keys for this struct isDirty Is the struct dirty load Loads this params object with an array or struct locale Looks up class specific locale strings based on a key offsetExists ArrayAccess does the requested key

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

  • Solar Framework : Class : Solar_Sql_Model_Params_Eager : Overview
    protected and private methods clone Performs a deep clone of objects in the data construct Constructor destruct Default destructor does nothing other than provide a safe fallback for calls to parent destruct get Gets a data value isset Does a certain key exist in the data set Sets a key value and marks the struct as dirty toString Returns a string representation of the object unset Sets a key in the data to null addCondition Sets the join condition to use note that this overrides the existing join condition alias Sets the alias to use for this eager or fetch cols Adds new columns to the existing list of columns colsPrefix Sets the column prefix to use when selecting columns count Countable how many keys are there dump Convenience method for getting a dump the whole object or one of its properties or an external variable eager Adds a new related eager fetch with options to the params free Frees memory used by this struct getIterator IteratorAggregate returns an external iterator for this struct getKeys Returns all the keys for this struct isDirty Is the struct dirty joinFlag Sets the join flag i e whether or not this eager should be used to control which parent records are selected joinOnly Whether or not this is a join only in a join only the eager is joined but no rows are selected joinType Sets the join type to use null left or inner load Loads this params object with an array or struct locale Looks up class specific locale strings based on a key merge Sets the merge type to use client or server nativeBy Should native records be selected by WHERE IN a list of IDs or by a sub SELECT offsetExists ArrayAccess does the requested key exist offsetGet ArrayAccess

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

  • Solar Framework : Class : Solar_Sql_Model_Params_Fetch : Overview
    isset Does a certain key exist in the data set Sets a key value and marks the struct as dirty toString Returns a string representation of the object unset Sets a key in the data to null alias Sets the alias to use for this eager or fetch bind Adds named placeholder values to bind to the resulting fetch query cache Should the fetch attempt use cached results when available cacheKey When fetching from and saving to the cache what key should be used cloneForKeeps Returns a clone with only the joins we keep for native selects i e for page counts and for the native by select strategy in relateds cols Adds new columns to the existing list of columns count Countable how many keys are there countPages Should the fetch issue a followup query to count the total number of records and pages distinct Should the fetch use a SELECT DISTINCT dump Convenience method for getting a dump the whole object or one of its properties or an external variable eager Adds a new related eager fetch with options to the params free Frees memory used by this struct getCacheKey Returns the cache key being used for this fetch getCacheKeyForCount Returns the cache key being used for count pages on this fetch getIterator IteratorAggregate returns an external iterator for this struct getKeys Returns all the keys for this struct group Adds GROUP BY columns to the fetch having Adds a HAVING condition to the fetch optionally with a value to bind to the condition isDirty Is the struct dirty join Adds a single arbitrary JOIN to the fetch limit Sets a LIMIT COUNT and OFFSET on the fetch load Loads this params object with an array or struct locale Looks up class specific locale strings based on a

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



  •