* @license PHP License * @package WB * @subpackage base */ WBClass::load('WBConfig_Call'); /** * Dynamic Config Loader * * Load config when calling object * * @version 0.1.0 * @package WB * @subpackage base */ class WBConfig_Call_Timestamp extends WBConfig_Call { /** * Current Attributes * @var array */ protected $att = array( 'format' => 'Y-m-d H:i:s' ); /** * Call * * @return string|array */ function call() { return gmdate($this->att['format']); } }