query( 'SHOW COLUMNS FROM ' . trim( $database->quote( $table ), '\'' ) . ' LIKE ' . $database->quote( $column ) ); if( $enumStmt->rowCount() <= 0 ) { return null; } $resultRow = $enumStmt->fetch( \PDO::FETCH_ASSOC ); $enumStmt->closeCursor(); $enumOptions = array(); preg_match_all( "/'([\w ]*)'/", $resultRow['type'], $enumOptions ); return $enumOptions[1]; }