Bienvenue

Nov/2020

xuServer est un Framework ORM français, écrit en PHP pour des bases de données MySQL.

Objectifs & Caractéristiques :

  • Encapsulation des concepts de Programmation Orientée Objet
  • Syntaxe POO chainable
  • Facilitation du développement de fontionnalités métier par les utilisateurs finaux
  • Namespacing et Modularité (gestion de droits, fonctionnalités métier ...)
  • Génération automatique des interfaces utilisateurs
  • Cet environnement de développement léger se fonde sur l'emploi de :

  • PHP 7.x
  • MySQL 5.x
  • jQuery 3.4
  • Bootstrap 4
  • Page de Démonstration

    L'accès au service dépend de vos droits d'utilisateur.

    Merci de bien vouloir créer un compte et vous y connecter

    Documentation

    La documentation de l'API est disponible ici (version béta)

    Open Source GPAO

    Contact

    A propos du webmaster




    properties


    ITERATOR FOR MODEL PROPERTIES

    This iterator belongs to modelStructure class
    It contains the list of accessible model built property

    @see xuserver\v5\model

    INHERITANCE

    public select()

    properties::select()

    Select specified model properties in the SQL statement.

    USAGE

    First select desired property set using find()
    Then assing them in the SQL statement using select()

    EXAMPLE

    $customer->properties()->find("phone")->select() ;


    @return \xuserver\v5\properties



    public where()

    properties::where()

    Use selected properties in WHERE SQL statement.

    USAGE

    First find() properties and give the a val()
    (You can also directly use "overloaded names")
    Then assing them to WHERE statement, using where()

    EXAMPLE

    $customer->properties()->find("phone")->select()->where() ;


    @return \xuserver\v5\properties





    iterator

    INHERITANCE

    public Init()

    iterator::Init()

    empty all iterator arrays
    @return \xuserver\v5\iterator



    public Empty()

    iterator::Empty()

    empty selection and found arrays
    @return \xuserver\v5\iterator



    public Fill()

    iterator::Fill()

    fill selection and found arrays with complete list
    @return \xuserver\v5\iterator



    public Append()

    iterator::Append()

    Append an item to the selection and found arrays
    @param iteratorItem $item



    public Remove()

    iterator::Remove()

    Remove an item from the selection and found arrays
    @param iteratorItem $item



    public Attach()

    iterator::Attach()

    Attach an iteratorItem to its iterator
    @param iteratorItem $item
    the item can be a property a relation a method or a DBO::FETCH_OBJ object
    @return \xuserver\v5\iterator



    public Detach()

    iterator::Detach()

    Detach an iteratorItem to its iterator
    @param property $prop
    @return \xuserver\v5\iterator



    public Fetch()

    iterator::Fetch()

    Fetch an item from its iterator, return false if not found
    @param string $name
    @return \xuserver\v5\iteratorItem|\xuserver\v5\model|\xuserver\v5\property



    public find()

    iterator::find()


    @param string $needle the string to find in attributes $by
    @param string $by name of the meta property on to search
    @return \xuserver\v5\properties



    public each()

    iterator::each()

    recursive function applyed on selection, found or list arrays
    @param $closure
    @param string $context
    @return \xuserver\v5\iterator



    public all()

    iterator::all()

    each alias on list array, dont affect selection
    @param $closure
    @return \xuserver\v5\iterator