This method search a content based in many arguments like: where, order, primary key, etc.
@param Mixed $pk
@param Boolean $fluid
@return Integer/PhpBURN_Core
Params
$pk
Model’s PK
$fluid
Makes possible to use FLUID INTERFACE
Explanation
It can be used in different ways:
$user = new Users(); $user->find();
By defining a PK
$user = new Users(); $user->find(42);
By defining a PK and using fluid mode ( so that we can walk recursively ), in resume that returns the Model back ( PhpBURN_Core type )
$user = new Users(); $user->find(42, true)->fetch();
Just being fluid returns the Model back ( PhpBURN_Core type )
$user = new Users(); $user->find(null, true)->fetch();
Just being fluid without null ( an @gustavotkg contrib ) ( PhpBURN_Core type )
$user = new Users(); $user->find(true)->fetch();
