Esempio n. 1
0
 /**
  * @param Plugin    $plugin
  * @param string    $handle
  * @param string    $wpRelPath
  * @param array     $deps
  * @param bool|true $inFooter
  */
 public function __construct(Plugin $plugin, $handle, $wpRelPath = '', array $deps = array(), $inFooter = true)
 {
     $this->inFooter = $inFooter;
     $this->whereMayReside = $plugin->getFactory()->fcrPlugin()->paths()->getWhereScriptsMayReside();
     parent::__construct($plugin, $handle, $wpRelPath, $deps);
 }
Esempio n. 2
0
 /**
  * @param Plugin $plugin
  * @param string $handle
  * @param string $wpRelPath
  * @param array  $deps
  * @param string $media
  */
 public function __construct(Plugin $plugin, $handle, $wpRelPath = '', array $deps = array(), $media = 'all')
 {
     $this->media = $media;
     $this->whereMayReside = $plugin->getFactory()->fcrPlugin()->paths()->getWhereStylesMayReside();
     parent::__construct($plugin, $handle, $wpRelPath, $deps);
 }