Introducción a Zend Framework

 Aprendiendo Zend Framework

Apéndice

 Referencia de Zend Framework


  • Zend_Gdata
  • Zend_Http
  • Zend_InfoCard
  • Zend_Json
  • Zend_Layout
  • Zend_Ldap
  • Zend_Loader
  • Zend_Locale
  • Zend_Log
  • Zend_Mail
  • Zend_Markup
  • Zend_Measure
  • Zend_Memory
  • Zend_Mime
  • Zend_Navigation
  • Zend_Oauth
  • Zend_OpenId
  • Zend_Paginator
  • Zend_Pdf
  • Zend_ProgressBar
  • Zend_Queue
  • Zend_Reflection
  • Zend_Registry
  • Zend_Rest

  • Zend_Search_Lucene
  • Zend_Serializer
  • Zend_Server
  • Zend_Service
  • Zend_Session
  • Zend_Soap
  • Zend_Tag
  • Zend_Test
  • Zend_Text
  • Zend_TimeSync
  • Zend_Tool
  • Zend_Tool_Framework
  • Zend_Tool_Project
  • Zend_Translate
  • Zend_Uri
  • Zend_Validate
  • Zend_Version
  • Zend_View
  • Zend_Wildfire
  • Zend_XmlRpc
  • ZendX_Console_Process_Unix
  • ZendX_JQuery
  • Traducción al 26.9% - Actualizado el 2011-11-16 - Revisión 24249 - Versión ZF 1.11.x

    41.4. Tools

    41.4.1. Creation and modification of DN strings

    41.4.2. Using the filter API to create search filters

    Ejemplo 41.10. Create simple LDAP filters

    $f1  Zend_Ldap_Filter::equals('name''value');         // (name=value)
    $f2  Zend_Ldap_Filter::begins('name''value');         // (name=value*)
    $f3  Zend_Ldap_Filter::ends('name''value');           // (name=*value)
    $f4  Zend_Ldap_Filter::contains('name''value');       // (name=*value*)
    $f5  Zend_Ldap_Filter::greater('name''value');        // (name>value)
    $f6  Zend_Ldap_Filter::greaterOrEqual('name''value'); // (name>=value)
    $f7  Zend_Ldap_Filter::less('name''value');           // (name<value)
    $f8  Zend_Ldap_Filter::lessOrEqual('name''value');    // (name<=value)
    $f9  Zend_Ldap_Filter::approx('name''value');         // (name~=value)
    $f10 Zend_Ldap_Filter::any('name');                     // (name=*)

    Ejemplo 41.11. Create more complex LDAP filters

    $f1 Zend_Ldap_Filter::ends('name''value')->negate(); // (!(name=*value))

    $f2 Zend_Ldap_Filter::equals('name''value');
    $f3 Zend_Ldap_Filter::begins('name''value');
    $f4 Zend_Ldap_Filter::ends('name''value');

    // (&amp;(name=value)(name=value*)(name=*value))
    $f5 Zend_Ldap_Filter::andFilter($f2$f3$f4);

    // (|(name=value)(name=value*)(name=*value))
    $f6 Zend_Ldap_Filter::orFilter($f2$f3$f4);

    41.4.3. Modify LDAP entries using the Attribute API

    digg delicious meneame google twitter technorati facebook

    Comentarios

    Loading...