public static function insert($fkey, $skey, $extra = array()) { if (is_null(static::$resourceType)) { throw new \Exception("Bad resource type."); } parent::insert($fkey, $skey, array('resource_type' => static::$resourceType)); }
public static function insert($fkey, $skey, $extra = array()) { if (is_null(static::$resourceType)) { throw new \Exception("Bad resource type."); } parent::insert($fkey, $skey, array('resource_type' => static::$resourceType)); }