roundcubemail/program/include/rcmail.php
public function get_address_book_id($object)
    {
        foreach ($this->address_books as $index => $book) {
            if ($book === $object) {
                return $index;
            }
        }
    }
public function get_address_book_id($object)
    {
        foreach ($this->address_books as $index => $book) {
            if ($book === $object) {
                return $index;
            }
        }
    }
public function get_address_book_id ( $ object ) { foreach ( $ this -> address_books as $ index => $ book ) { if ( $ book === $ object ) { return $ index ; } } }
Return identifier of the address book object

@param rcube_addressbook $object Addressbook source object

@return string Source identifier
Return identifier of the address book object