23 protected static array
$cache = array();
27 return array_key_exists(get_class($ar), self::$cache);
42 if (!self::isCached($ar)) {
46 return self::$cache[get_class($ar)];
51 unset(self::$cache[get_class($ar)]);
56 return self::get($ar)->getPrimaryFieldName();
64 return self::get($ar)->getPrimaryFieldType();
static getPrimaryFieldName(ActiveRecord $ar)
static storeFromStorage(string $storage_class_name, ActiveRecord $foreign_model)
static get(ActiveRecord $ar)
static isCached(ActiveRecord $ar)
static store(ActiveRecord $ar)
static purge(ActiveRecord $ar)
static getPrimaryFieldType(ActiveRecord $ar)
static getInstanceFromStorage(\ActiveRecord $ar)
static getInstance(ActiveRecord $ar)