Subversion Repositories oidplus

Rev

Rev 1164 | Rev 1236 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1164 Rev 1204
Line 222... Line 222...
222
         * @return void
222
         * @return void
223
         * @throws OIDplusConfigInitializationException
223
         * @throws OIDplusConfigInitializationException
224
         * @throws OIDplusException
224
         * @throws OIDplusException
225
         * @throws \ReflectionException
225
         * @throws \ReflectionException
226
         */
226
         */
227
        public final function naturalSortByField(string $dbField) {
227
        public final function naturalSortByField(string $dbField) { // TODO: Argument asc or desc order
228
                if (is_null($this->prefetchedArray)) {
228
                if (is_null($this->prefetchedArray)) {
229
                        $this->prefetchAll();
229
                        $this->prefetchAll();
230
                }
230
                }
231
 
231
 
232
                // Sort $this->prefetchedArray by field $dbField
232
                // Sort $this->prefetchedArray by field $dbField