note 103979 added to function.get-class-methods

From: Date: Sun, 15 May 2011 16:00:39 +0000
Subject: note 103979 added to function.get-class-methods
Groups: php.notes 
Request: Send a blank email to php-notes+get-179735@lists.php.net to get a copy of this message
I use this function for an api, so it excludes some functions from the list. <?php public function getApiList() { $cmethods = get_class_methods(__CLASS__); $exclude = array('generateAuth', 'authenticateRequest', 'getApiList'); $methods = array(); foreach($cmethods as $value){ if(!in_array($value, $exclude)) { $methods[] = $value; } } return $methods; } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 68.197.67.60 ---- Manual Page -- http://www.php.net/manual/en/function.get-class-methods.php Edit -- https://master.php.net/note/edit/103979 Del: integrated -- https://master.php.net/note/delete/103979/integrated Del: useless -- https://master.php.net/note/delete/103979/useless Del: bad code -- https://master.php.net/note/delete/103979/bad+code Del: spam -- https://master.php.net/note/delete/103979/spam Del: non-english -- https://master.php.net/note/delete/103979/non-english Del: in docs -- https://master.php.net/note/delete/103979/in+docs Del: other reasons-- https://master.php.net/note/delete/103979 Reject -- https://master.php.net/note/reject/103979 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179735) next »