src/CarteBlanche/Model/AbstractModel.php
public function getSpecialFields($field, $value = true)
    {
        $fields = array();
        foreach($this->_table_structure as $_field=>$field_structure) {
            if (isset($field_structure[$field]) && $field_structure[$field]===$value) {
                $fields[] = $_field;
            }
        }
        return $fields;
    }
public function getSpecialFields($field, $value = true)
    {
        $fields = array();
        foreach($this->_table_structure as $_field=>$field_structure) {
            if (isset($field_structure[$field]) && $field_structure[$field]===$value) {
                $fields[] = $_field;
            }
        }
        return $fields;
    }
Gets a table special field if found

@param string $field The field name to search
@param mixed $value The corresponding value of the field
@return array The special search fields list if found