public function getSelects()
    {
        $selects = $this->columns;

        // If the asterisk is not provided in the selected columns, we need to
        // ensure we always select the object class and category, as these
        // are used for constructing models. The asterisk indicates that
        // we want all attributes returned for LDAP records.
        if (! in_array('*', $selects)) {
            $selects[] = $this->schema->objectCategory();
            $selects[] = $this->schema->objectClass();
        }

        return $selects;
    }
public function getSelects()
    {
        $selects = $this->columns;

        // If the asterisk is not provided in the selected columns, we need to
        // ensure we always select the object class and category, as these
        // are used for constructing models. The asterisk indicates that
        // we want all attributes returned for LDAP records.
        if (! in_array('*', $selects)) {
            $selects[] = $this->schema->objectCategory();
            $selects[] = $this->schema->objectClass();
        }

        return $selects;
    }
public function getSelects ( ) { $ selects = $ this -> columns ; // If the asterisk is not provided in the selected columns, we need to // ensure we always select the object class and category, as these // are used for constructing models. The asterisk indicates that // we want all attributes returned for LDAP records. if ( ! in_array ( '*' , $ selects ) ) { $ selects [ ] = $ this -> schema -> objectCategory ( ) ; $ selects [ ] = $ this -> schema -> objectClass ( ) ; } return $ selects ; }
Returns the current selected fields to retrieve.

@return array
Returns the current selected fields to retrieve .