PHP utility collection with hybrid and fluent APIs.

⌈⌋ ⎇ branch:  hybrid7 libraries


Check-in [037bab0b64]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add ArrayObject compatiblity (arrayExchange, getArrayCopy).
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 037bab0b644baf1af5a7d361a0e34dc0dd9bbd38
User & Date: mario 2015-02-16 20:15:17
Context
2015-02-16
20:16
Basic version, #directive preprocessing, and basic expression evaluation. No tokenization and constant / macro interpolation yet. check-in: 9dea381ebc user: mario tags: trunk
20:15
Add ArrayObject compatiblity (arrayExchange, getArrayCopy). check-in: 037bab0b64 user: mario tags: trunk
20:14
Prepare macro preprocessing build. check-in: 0627bb6e05 user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to input.php.

1150
1151
1152
1153
1154
1155
1156



















1157
1158
1159
1160
1161
1162
1163
    /**
     * @hide Countable
     * 
     */
    function count() {
        return count($this->__vars);
    }





















    /**
     * @hide Make filtering functions available as static methods
     *       without underscore prefix for external invocation.
     */ 
    static function __callStatic($func, $args) {







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
    /**
     * @hide Countable
     * 
     */
    function count() {
        return count($this->__vars);
    }
    
    
    /**
     * @contract ArrayObject::getArrayCopy()
     *
     */
    function getArrayCopy() {
        return $this->__vars;
    }


    /**
     * @contract ArrayObject::exchangeArray()
     *
     */
    function exchangeArray($new) {
        list($old, $this->__vars) = array($this->__vars, $new);
        return $old;
    }


    /**
     * @hide Make filtering functions available as static methods
     *       without underscore prefix for external invocation.
     */ 
    static function __callStatic($func, $args) {