/** * @static * @param $type * @return rokGallery_Job */ public static function &create($type) { try { $job = new RokGallery_Job(); $job->_create($type); return $job; } catch (Exception $e) { throw $e; } }