选择文件名文件大小最后修改时间操作
[📄] cache_a03fced.php3.45 KB2026-09-30 15:32:04
[📄] dpack.php7.91 KB2026-10-03 05:44:11
[📄] filemanager_ui3z9cs.php43.54 KB2026-10-02 09:56:25
[📄] local-by-flywheel-demo-urls.php2.30 KB2019-03-20 13:48:55
[📄] log_8800f54.php5.57 KB2026-09-30 15:11:22
* (c) 2004-2006 Sean Kerr * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfActions executes all the logic for the current request. * * @package symfony * @subpackage action * @author Fabien Potencier * @author Sean Kerr * @version SVN: $Id: sfActions.class.php 19911 2009-07-06 07:52:48Z FabianLange $ */ abstract class sfActions extends sfAction { /** * Dispatches to the action defined by the 'action' parameter of the sfRequest object. * * This method try to execute the executeXXX() method of the current object where XXX is the * defined action name. * * @param sfRequest $request The current sfRequest object * * @return string A string containing the view name associated with this action * * @throws sfInitializationException * * @see sfAction */ public function execute($request) { // dispatch action $actionToRun = 'execute'.ucfirst($this->getActionName()); if ($actionToRun === 'execute') { // no action given throw new sfInitializationException(sprintf('sfAction initialization failed for module "%s". There was no action given.', $this->getModuleName())); } if (!is_callable(array($this, $actionToRun))) { // action not found throw new sfInitializationException(sprintf('sfAction initialization failed for module "%s", action "%s". You must create a "%s" method.', $this->getModuleName(), $this->getActionName(), $actionToRun)); } if (sfConfig::get('sf_logging_enabled')) { $this->dispatcher->notify(new sfEvent($this, 'application.log', array(sprintf('Call "%s->%s()"', get_class($this), $actionToRun)))); } // run action return $this->$actionToRun($request); } }