Helping ordinary people create extraordinary websites!


{Child Class}::staticGet()

{Child Class}::staticGet() -- Simple Get (Select) request, abbreviated (autogenerated)

Description

The static method is similar to the get request, however it does not require the initial instantiation of the class. staticGet() can optionally cache the results. (see the configuration section)

Note: This can only be used for tables with a single column primary key.

Parameter

  • string $key - column or value if only one parameter is given

  • mixed $value - value

Return value

object mixed - FALSE or the object

Note

This method must be called statically.