2 require_once(dirname(__FILE__) .
'/../Fields/class.arFieldList.php');
25 return in_array(get_class($ar), array_keys(self::$cache));
58 if (!self::isCached($ar)) {
62 return self::$cache[get_class($ar)];
70 unset(self::$cache[get_class($ar)]);
80 return self::get($ar)->getPrimaryFieldName();
90 return self::get($ar)->getPrimaryFieldType();
Class arStorageInterface.
static getPrimaryFieldName(ActiveRecord $ar)
static getPrimaryFieldType(ActiveRecord $ar)
static getInstance(ActiveRecord $ar)
static store(ActiveRecord $ar)
static getInstanceFromStorage($ar)
static storeFromStorage($storage_class_name, arStorageInterface $foreign_model)
static purge(ActiveRecord $ar)
static isCached(ActiveRecord $ar)