classes/Persistence.php
public static function load($pk){
    $table = static::persistenceOptions('table');
    $cb    = static::persistenceLoad();
    $op    = static::persistenceOptions();

    // Use standard persistence on DB layer
    return ( false == is_callable($cb) ) ?
      static::persistenceLoadDefault($pk,$table,$op) : $cb($pk,$table,$op);
  }
public static function load($pk){
    $table = static::persistenceOptions('table');
    $cb    = static::persistenceLoad();
    $op    = static::persistenceOptions();

    // Use standard persistence on DB layer
    return ( false == is_callable($cb) ) ?
      static::persistenceLoadDefault($pk,$table,$op) : $cb($pk,$table,$op);
  }
public static function load ( $ pk ) { $ table = static :: persistenceOptions ( 'table' ) ; $ cb = static :: persistenceLoad ( ) ; $ op = static :: persistenceOptions ( ) ; // Use standard persistence on DB layer return ( false == is_callable ( $ cb ) ) ? static :: persistenceLoadDefault ( $ pk , $ table , $ op ) : $ cb ( $ pk , $ table , $ op ) ; }
Load the model from the persistence layer
@return mixed The retrieved object
Load the model from the persistence layer