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_Related_ToOne : Overview
    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 ToOne 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 related record getForeignConditions Gets the foreign model WHERE conditions and merges with the

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


  • Solar Framework : Class : Solar_Sql_Select : Overview
    than provide a safe fallback for calls to parent destruct toString Returns this object as an SQL statement string bind Adds data to bind into the query clear Clears query properties and row sources cols Adds 1 or more columns to the SELECT without regard to a FROM or JOIN compoundLimit Sets a compound limit count and offset to the query used only in UNION etc queries compoundLimitPage Sets the compound limit and count by page number used only in UNION etc queries compoundOrder Adds a compound row order to the query used only in UNION etc queries countPages Get the count of rows and number of pages for the current query distinct Makes the query SELECT DISTINCT dump Convenience method for getting a dump the whole object or one of its properties or an external variable fetch Fetch the results based on the current query properties fetchAll Fetches all rows from the database using sequential keys fetchAssoc Fetches all rows from the database using associative keys defined by the first column fetchCol Fetches the first column of all rows as a sequential array fetchOne Fetches one row from the database fetchPairs Fetches an associative array of all rows as key value pairs first column is the key second column is the value fetchPdo Fetches a PDOStatement result object fetchSql Builds the SQL statement and returns it as a string instead of executing it fetchValue Fetches the very first value i e first column of the first row from Adds a FROM table and columns to the query fromSelect Adds a sub select and columns to the query getPaging Gets the number of rows per page group Adds grouping to the query having Adds a HAVING condition to the query by AND innerJoin Adds an INNER JOIN table and columns

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

  • Solar Framework : Class : Solar_Struct : Overview
    not reveal the data you ll get an empty array Instead you should use the toArray method to get a copy of the object data php data array foo bar baz dib zim gir object Solar factory Solar Struct array data data struct array object struct array struct object toArray struct array foo bar Another problem is that you can t use object notation inside double quotes directly you need to wrap in braces php echo struct foo won t work echo struct foo will work A third problem is that you can t address keys inside a foreach loop directly using array notation you have to use object notation Originally reported by Antti Holvikari php will not work foreach struct subarray as key val will work foreach struct subarray as key val Package This class is part of the Solar package Inheritance Solar Base Solar Struct Configuration Keys data Key value pairs Constants None Public Properties The Solar Struct class has no public properties try the list of all properties Public Methods These are all the public methods in the Solar Struct 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 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 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 free Frees memory used by this struct getIterator IteratorAggregate returns an external iterator for this struct getKeys

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

  • Solar Framework : Class : Solar_Struct_Iterator : Overview
    The Solar Struct Iterator class has no public properties try the list of all properties Public Methods These are all the public methods in the Solar Struct Iterator class You can also view the list of all public protected and private methods construct Constructor note that this is not a Solar constructor current Returns the struct value for the current iterator position key Returns the current iterator position next Moves

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

  • Solar Framework : Class : Solar_Struct_Xml : Overview
    Public Methods These are all the public methods in the Solar Struct Xml 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 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 the struct as a string of XML unset Sets a key in the data to null 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 free Frees memory used by this struct especially references to parent structs down the line getIterator IteratorAggregate returns an external iterator for this struct getKeys Returns all the keys for this struct getParent Returns the hierarchical parent struct if any isDirty Is the struct dirty load Loads this object with XML data replacing any existing XML in the object locale Looks up class specific locale strings based on a key offsetExists ArrayAccess does the requested key exist offsetGet ArrayAccess get a key value offsetSet ArrayAccess set

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

  • Solar Framework : Class : Solar_Symlink : Overview
    maxi pedia com mklink Package This class is part of the Solar package Configuration Keys None Constants None Public Properties The Solar Symlink class has no public properties try the list of all properties Public Methods These are all the public methods in the Solar Symlink class You can also view the list of all public protected and private methods make Makes a symbolic link to a file or directory

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

  • Solar Framework : Class : Solar_Test : Overview
    that two variables are equal type is not strict assertFalse Asserts that a variable is boolean false assertInstance Asserts that a object is an instance of a class assertNotEquals Asserts that two variables are not equal type is not strict assertNotFalse Asserts that a variable is not boolean false assertNotInstance Asserts that a object is not an instance of a class assertNotNull Asserts that a variable is not PHP null assertNotRegex Asserts that a value does not match a regular expression pattern using preg match assertNotSame Asserts that two variables are not the same type and value assertNotTrue Asserts that a variable is not boolean true assertNull Asserts that a variable is PHP null assertProperty Asserts that an object property meets criteria assertRegex Asserts that a value matches a regular expression pattern using preg match assertSame Asserts that two variables have the same type and value assertTrue Asserts that a variable is boolean true diag Prints diagnostic output dump Convenience method for getting a dump the whole object or one of its properties or an external variable error Error handler for this test throws a test failure fail Throws an exception indicating a failed test getAssertCount Returns the number of

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

  • Solar Framework : Class : Solar_Test_Bench : Overview
    Test Bench class has no public properties try the list of all properties Public Methods These are all the public methods in the Solar Test Bench 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

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



  •