/** Returns associative array of table column/field/attribute names as keys, * and column data types as values * @return Array */ public static function getStaticAttributeDefs() { if (array_key_exists(static::class, static::$attributeDefinitionArr)) { return static::$attributeDefinitionArr[static::class]; } $instance = new Static(); return $instance->getAttributeDefs(); }