pluginSplit

Function pluginSplit

Splits a dot syntax plugin name into its plugin and class name. If $name does not have a dot, then index 0 will be null.

Commonly used like

list($plugin, $name) = pluginSplit($name);
Link: http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#pluginSplit
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Located at Core/functions.php
登录查看完整内容