src/Controller/Component/CommonComponent.php
public function listActions() {
		$parentClassMethods = get_class_methods(get_parent_class($this->Controller));
		$subClassMethods = get_class_methods($this->Controller);
		$classMethods = array_diff($subClassMethods, $parentClassMethods);
		foreach ($classMethods as $key => $classMethod) {
			if (mb_substr($classMethod, 0, 1) === '_') {
				unset($classMethods[$key]);
			}
		}
		return $classMethods;
	}
public function listActions() {
		$parentClassMethods = get_class_methods(get_parent_class($this->Controller));
		$subClassMethods = get_class_methods($this->Controller);
		$classMethods = array_diff($subClassMethods, $parentClassMethods);
		foreach ($classMethods as $key => $classMethod) {
			if (mb_substr($classMethod, 0, 1) === '_') {
				unset($classMethods[$key]);
			}
		}
		return $classMethods;
	}
public function listActions ( ) { $ parentClassMethods = get_class_methods ( get_parent_class ( $ this -> Controller ) ) ; $ subClassMethods = get_class_methods ( $ this -> Controller ) ; $ classMethods = array_diff ( $ subClassMethods , $ parentClassMethods ) ; foreach ( $ classMethods as $ key => $ classMethod ) { if ( mb_substr ( $ classMethod , 0 , 1 ) === '_' ) { unset ( $ classMethods [ $ key ] ) ; } } return $ classMethods ; }
List all direct actions of a controller

@return array Actions
List all direct actions of a controller