Version Released

A new version of jqmPhp was released. See the changes.

 

jqmPhp.php

Now you can change the library folder name easily.

21
22
23
24
25
/**
 * Sets the library folder name.
 * @var JQMPHP_FOLDER
 */
define('JQMPHP_FOLDER', 'lib', true);

jqmButton.php

Added rel and target properties.

102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/**
     * Gets and sets the rel property.
     * @param string $value
     * @return string|jqmListitem
     */
    function rel() {
        $args = func_get_args();
        if (count($args) == 0) return $this->_rel->value();
        $this->_rel->value($args[0]);
        return $this;
    }
    /**
     * Gets and sets the target property.
     * @param string $value
     * @return string|jqmListitem
     */
    function target() {
        $args = func_get_args();
        if (count($args) == 0) return $this->_target->value();
        $this->_target->value($args[0]);
        return $this;
    }

jqmListitem.php

Added rel, target, splitRel and splitTarget properties.

113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
    /**
     * Gets and sets the rel property.
     * @param string $value
     * @return string|jqmListitem
     */
    function rel() {
        $args = func_get_args();
        if (count($args) == 0) return $this->_rel;
        $this->_rel = $args[0];
        return $this;
    }
    /**
     * Gets and sets the target property.
     * @param string $value
     * @return string|jqmListitem
     */
    function target() {
        $args = func_get_args();
        if (count($args) == 0) return $this->_target;
        $this->_target = $args[0];
        return $this;
    }

Examples

Three new examples added.

 

Download

jqmPhp version 0.03