public function fromAssets($assets, $indexBy = null) { return craft()->embeddedAssets->getEmbeddedAssets($assets, $indexBy); }