SPIP

Système de Publication pour Internet

http://www.spip.net

Les articles publiés sur le site

  • {criterion ?operator value}

    17 août 2010, par MarkCriteria
    Take the criterion into account only if a value exists in the environment for that criterion . The criterion will only be evaluated by the loop if there is a variable with the same name in the current environment. For example: date ?!= #ENVdate, email ?LIKE %(#ENVemail)% or perhaps: If there is (...)
  • {criterion ?}

    17 août 2010, par MarkCriteria
    A conditional criterion (criteria associated with the ? logical operator) will only be taken into account by the loop if the data required by that criterion exist in the execution environment of that loop. If there is an id_rubrique (nn) in the execution environment of the loop, then the loop (...)
  • {criteria IN value1, value2[, value3,..., valueN]}

    17 août 2010, par MarkCriteria
    ... IN ... available from spip onwards, restricts the selection of results that have a criterion value equal to one of a finite collection of valid values. xxxx IN a,b,c,d available from spip onwards, restricts the display of results that have the xxxx criterai equal to a, b, c or d. The (...)
  • {criteria LIKE value}

    17 août 2010, par MarkCriteria
    The ... LIKE ... criteria corresponds to the SQL comparison operator LIKE. For example, we can search for AUTEURS (authors) whose login name starts with paul: login LIKE paul% We can also use a SPIP tag within the criteria, but you will need to enclose it by parentheses to obtain the tag's (...)
  • #SESSION_SET

    17 août 2010, par MarkTags
    Used to insert additional data into the #SESSION tag. #SESSION_SET is employed by writing #SESSION_SETvariable, value, inserting the value into the PHP array in the form of $GLOBALS['visiteur_session']['variable'] = 'value'; The inserted data can be retrieved at any time using #SESSIONvariable. (...)

Rechercher

Recherche avancée

Sites Web